<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Converts an (IPv4) Internet network address into a string in Internet standard dotted format</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ip2long.html">ip2long</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.openlog.html">openlog</a></div>
 <div class="up"><a href="ref.network.html">Network 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.long2ip" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">long2ip</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">long2ip</span> &mdash; <span class="dc-title">Converts an (IPv4) Internet network address into a string in Internet standard dotted format</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.long2ip-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>long2ip</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$proper_address</code></span>
   )</div>

  <p class="para rdfs-comment">
   The function <span class="function"><strong>long2ip()</strong></span> generates an Internet address
   in dotted format (i.e.: aaa.bbb.ccc.ddd) from the proper address
   representation.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.long2ip-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">proper_address</code></em></dt>

     <dd>

      <p class="para">
       A proper address representation.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.long2ip-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the Internet IP address as a string.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.long2ip-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.ip2long.html" class="function" rel="rdfs-seeAlso">ip2long()</a> - Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ip2long.html">ip2long</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.openlog.html">openlog</a></div>
 <div class="up"><a href="ref.network.html">Network 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
